#ifndef _TXTLOGOBJECT_H__
#define _TXTLOGOBJECT_H__

#include"ILogObject.h"

class TXTLogObject : public ILogObject
{
private:
	std::ofstream* mLogStream;
	bool mbUseTimeStamp;

public:
	TXTLogObject(bool useTimeStamp);
	~TXTLogObject() { delete mLogStream; }

	void Initialize(std::ofstream* stream);

	void Write(const char* logline, va_list args);
};

#endif